package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("order_deliver")
public class OrderDeliver extends Model<OrderDeliver> {

    private static final long serialVersionUID = 1L;

    /**
     * 发货id
     */
    private String id;
    /**
     * 逻辑删除 0正常  1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建日期
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新日期
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 发货编号
     */
    @TableField("deliver_no")
    private String deliverNo;
    /**
     * 用户id(买家)
     */
    @TableField("user_id")
    private String userId;
    /**
     * 商铺id
     */
    @TableField("store_id")
    private String storeId;
    /**
     * 分组订单id
     */
    @TableField("order_goods_id")
    private String orderGoodsId;
    /**
     * 物流公司
     */
    @TableField("logistics_company_id")
    private String logisticsCompanyId;
    /**
     * 订单的收货地址id
     */
    @TableField("order_address_id")
    private String orderAddressId;
    /**
     * 运单号
     */
    private String waybill;
    /**
     * 状态  1：已发货 2：客户已收货
     */
    private Integer status;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getDeliverNo() {
        return deliverNo;
    }

    public void setDeliverNo(String deliverNo) {
        this.deliverNo = deliverNo;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getOrderGoodsId() {
        return orderGoodsId;
    }

    public void setOrderGoodsId(String orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }

    public String getLogisticsCompanyId() {
        return logisticsCompanyId;
    }

    public void setLogisticsCompanyId(String logisticsCompanyId) {
        this.logisticsCompanyId = logisticsCompanyId;
    }

    public String getOrderAddressId() {
        return orderAddressId;
    }

    public void setOrderAddressId(String orderAddressId) {
        this.orderAddressId = orderAddressId;
    }

    public String getWaybill() {
        return waybill;
    }

    public void setWaybill(String waybill) {
        this.waybill = waybill;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "OrderDeliver{" +
        "id=" + id +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", deliverNo=" + deliverNo +
        ", userId=" + userId +
        ", storeId=" + storeId +
        ", orderGoodsId=" + orderGoodsId +
        ", logisticsCompanyId=" + logisticsCompanyId +
        ", orderAddressId=" + orderAddressId +
        ", waybill=" + waybill +
        ", status=" + status +
        "}";
    }
}
